package cn.kgc.crowdfundingadminspringboot.service;

import cn.kgc.crowdfundingadminspringboot.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 项目名：crowd-funding-admin-springboot
 * 创建人：Junyizm
 * 创建时间：2020/2/19-11:15
 */
public interface AdminService {

    public Admin login(String loginAcct, String userPswd);

    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);

    public void batchRemove(List<Integer> adminIdList);

    public void saveAdmin(Admin admin);

    public Admin getAdminById(Integer adminId);

    public void updateAdmin(Admin admin);
}
